package com.bum.rss.exp.om;

import java.io.Serializable;
import java.util.List;

public class Rss implements Serializable {
	private static final long	serialVersionUID	= 1L;

	public static final int		TYPE_SITES			= 0;
	public static final int		TYPE_CATS			= 1;
	public static final int		TYPE_ENTRYS			= 2;
	public static final int		TYPE_CONTENT		= 3;

	private int					type;
	private String				url;
	private String				title;
	private String				site;

	private RssEntry			entry;
	private List<RssEntry>		entries;

	public Rss() {
	}

	public Rss(int type) {
		this.type = type;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public List<RssEntry> getEntries() {
		return entries;
	}

	public void setEntries(List<RssEntry> entries) {
		this.entries = entries;
	}

	public RssEntry getEntry() {
		return entry;
	}

	public void setEntry(RssEntry entry) {
		this.entry = entry;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}
}
